<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Schedule Western</title>

    <!-- Bootstrap core CSS -->
    <link href="<?php echo $this->baseUrl(); ?>/css/bootstrap.css" rel="stylesheet">

    <!-- Add custom CSS here -->
    <link href="<?php echo $this->baseUrl(); ?>/css/sb-admin.css" rel="stylesheet">
    <link rel="stylesheet" href="<?php echo $this->baseUrl(); ?>/font-awesome/css/font-awesome.min.css">
    <!-- Page Specific CSS -->
    <style type="text/css">
		table td,th{ height:50px; text-align: center}
	</style>
  </head>

  <body>
  <?php 
	$url_avaliable_time = $this->url(array('module'=>'teacher','controller'=>'avaliable-time','action'=>'add-avaliable'));
?>
<style>
<!--
tr td.tds{
	width: 15%; padding:10px 20px;
}
tr td.tdtext{
	width: 35%;
}
-->
</style>
<form action="<?php echo $url_avaliable_time;?>" method="post" id="frm" enctype="multipart/form-data">
      <div id="page-wrapper">
        <div class="row">
        <div class="panel-heading" style=" width: 80%; margin:0 auto;">    	  
        	 <h3 style="color:#00F">Create User Teacher </h3>
          <button name="save_new" value="save_new" class="btn btn-small btn-primary">
			<b><i class="fa fa-plus"></i></b> &nbsp;Save New 
		  </button>
		  <button name="save_colse" value="save_colse" class="btn btn-small btn-primary">
		  <b><i class="icon-check"></i></b> &nbsp;Save Colse	
		  </button>
		  <a href="<?php ?>">
		  <button type="button" name="cancel" value="cancel" class="btn btn-small btn-warning">
			  <b><i class="fa fa-times"></i></b> &nbsp;Cancel					 
		  </button>
		  </a>
		  
        </div>
        
		<div class="col-lg-12 container">
			<table class="col-lg-12 container">
				<tr>
					<td>Leacturer :</td>
					<td><?php echo $this->frmavaliable->getElement("teacher");?></td>
					<td>Tel:</td>
					<td><?php echo $this->frmavaliable->getElement("tel");?></td>
				</tr>
				<tr>
					<td>ID Code :</td>
					<td><?php echo $this->frmavaliable->getElement("id_code");?></td>
					<td>Email  :</td>
					<td><?php echo $this->frmavaliable->getElement("email");?></td>
				</tr>
				<tr>
					<td></td>
					<td><?php //echo $this->frmavaliable->getElement("tel");?></td>
					<td></td>
					<td><?php //echo $this->frmavaliable->getElement("Save");?></td>
				</tr>
				
			</table>
		    <div height="55px"></div>
            
             <div class="col-lg-12 ">
             <table class="col-lg-8 container">
             	<tr>
             		<td>Academic Year :</td>
             		<td> <?php echo $this->frmavaliable->getElement("academic_year");?></td>
             		<td>Semester :</td>
             		<td> <?php echo $this->frmavaliable->getElement("semester");?></td>
             	</tr>
             </table>
            </div>
            
            <div class="table-responsive" style="clear: both">
              <table class="table table-bordered">
                <thead class="breadcrumb">
                  <tr>
                    <th>Time </th>
                    <th>Monday </th>
                    <th>Tuesday </th>
                    <th>Wenesday</th>
                    <th>Thursday </th>
                    <th>Friday </th>
                    <th>Saturday </th>
                    <th>Sunday </th>
                  </tr>
                </thead>
                 <tbody>
                  <tr>
                    <td class="time">7:00-8:30</td> 
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_mon");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_tur");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_wed");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_thu");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_fri");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_sat");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_sun");?>
                    </td>
                  </tr>
                  <tr>
                    <td class="time">8:40-10:15</td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_8_10_mon");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_8_10_tur");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_8_10_wed");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_8_10_thu");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_8_10_fri");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_8_10_sat");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_8_10_sun");?>
                    </td>
                  </tr>
                  <tr>
                    <td class="time">10:10-11:30</td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_10_12_mon");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_10_12_tur");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_10_12_wed");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_10_12_thu");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_10_12_fri");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_10_12_sat");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_10_12_sun");?>
                    </td>
                  </tr>
                  <tr>
                    <td class="time">1:00 - 02:25</td> 
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_1_2_mon");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_1_2_tur");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_1_2_wed");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_1_2_thu");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_1_2_fri");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_1_2_sat");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_1_2_sun");?>
                    </td>
                  </tr>
                  <tr>
                    <td class="time">02:30 - 03:55</td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_2_4_mon");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_2_4_tur");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_2_4_wed");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_2_4_thu");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_2_4_fri");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_2_4_sat");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_2_4_sun");?>
                    </td>
                  </tr>
                  <tr>
                    <td class="time">04:05 - 5:25</td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_4_5_mon");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_4_5_tur");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_4_5_wed");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_4_5_thu");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_4_5_fri");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_4_5_sat");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_4_5_sun");?>
                    </td>
                  </tr>
                  <tr>
                    <td class="time">05:30 - 06:55</td> 
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_5_7_mon");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_5_7_tur");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_5_7_wed");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_5_7_thu");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_5_7_fri");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_5_7_sat");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_5_7_sun");?>
                    </td>
                  </tr>
                  <tr>
                    <td class="time">07:05 - 08:30</td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_1_mon");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_1_tur");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_1_wed");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_1_thu");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_1_fri");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_1_sat");?>
                    </td>
                    <td>
                    	<?php echo $this->frmavaliable->getElement("check_7_8_1_sun");?>
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
        </form>
        
      </div><!-- /#page-wrapper -->

    </div><!-- /#wrapper -->

    <!-- Bootstrap core JavaScript -->
    <script src="<?php $this->baseUrl()?>/js/jquery.min.js"></script>
    <script src="<?php $this->baseUrl()?>/js/bootstrap.js"></script>
    <!-- Page Specific Plugins -->
    <script src="<?php $this->baseUrl()?>/js/raphael-min.js"></script>
    <script src="<?php $this->baseUrl()?>/js/morris-0.4.3.min.js"></script>
    <script src="<?php $this->baseUrl()?>/js/morris/chart-data-morris.js"></script>
    <script src="<?php $this->baseUrl()?>/js/tablesorter/jquery.tablesorter.js"></script>
    <script src="<?php $this->baseUrl()?>/js/tablesorter/tables.js"></script>
  </body>
</html>
